package com.blb.pojo;

/**
 * 向前端返回的JSON数据格式
 */
public class JsonResult {

    //响应代码
    private Long code;
    //响应数据
    private Object data;

    public JsonResult() {
    }

    public JsonResult(Long code, Object data) {
        this.code = code;
        this.data = data;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
